package com.xzy.dao;

import com.xzy.pojo.LoginUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface LoginUserDao extends JpaRepository<LoginUser,Integer> {
    public LoginUser findByNameAndPhone(String name,String phone);
    LoginUser findByName(String name);
}
